import { request } from '../config/request.js'

// 车辆用途列表查询
export const getVehicleUseList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findVehicleUseList.do',
		method:'GET',
		query:params
	})
}

// 车辆品牌列表查询
export const getVehicleBrandList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findVehicleBrandList.do',
		method:'GET',
		query:params
	})
}


// 性别列表查询
export const getSexList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findSexList.do',
		method:'GET',
		query:params
	})
}

// 省份列表查询
export const getProvinceList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findProvinceList.do',
		method:'GET',
		query:params
	})
}

// 城市列表查询
export const getCityList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findCityList.do',
		method:'GET',
		query:params
	})
}

// 区县列表查询
export const getCountyList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findCountyList.do',
		method:'GET',
		query:params
	})
}

// 民族列表查询
export const getNationList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/findNationList.do',
		method:'GET',
		query:params
	})
}


// 获取用户数据
export const getPersonalInfo = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/PersonalInformationService/findPersonalInfo.do',
		method:'GET',
		query:params
	})
}

// 预约自动分配修改
export const updatePersonalInfo = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/PersonalInformationService/updatePersonalInfo.do',
		method:'POST',
		query:params
	})
}

// 首页预约 list 
export const makeAnAppointment = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/PersonalInformationService/makeAnAppointment.do',
		method:'GET',
		query:params
	})
}

// 首页客户list 
export const customerRemind = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/PersonalInformationService/customerRemind.do',
		method:'GET',
		query:params
	})
}

// 维修列表 /mp/e3sh/assistant/maintance/RepairManageService/repairManageList.do
export const repairManageList = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/maintance/RepairManageService/repairManageList.do',
		method:'GET',
		query:params
	})
}


// 备件选择
export const getSparePart = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/getSparePart.do',
		method:'GET',
		query:params
	})
}

// 工时选择
export const getWorkingHours = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/getWorkingHours.do',
		method:'GET',
		query:params
	})
}

// 其他选择
export const getOther = (params) =>{
	return request({
		url:'/mp/e3sh/assistant/customer/commonService/getOther.do',
		method:'GET',
		query:params
	})
}



